package cn.yxr.service.Impl;


import cn.yxr.mapper.AppVersionMapper;
import cn.yxr.pojo.AppVersion;
import cn.yxr.service.AppVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppVersionServiceImpl implements AppVersionService {
	
	@Autowired
	private AppVersionMapper appVersionMapper;

	//查询所有版本
	public List<AppVersion> search_Version(AppVersion appVersion) {
		List<AppVersion> list = appVersionMapper.search_Version(appVersion);
		return list;
	}
	//添加
	public int insert_AppVeByid(AppVersion appVersion) {
		int i = appVersionMapper.insert_AppVeByid(appVersion);
		return i;
	}
	//修
	public int modify_AppVeByid(AppVersion appVersion) {
		int i = appVersionMapper.modify_AppVeByid(appVersion);
		return i;
	}
	
}
